package com.gwq.dto;

import com.gwq.entity.MessageFile;
import com.gwq.entity.MessageReply;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;


@Data
public class MessageDto implements Serializable {

    private String id;

    @ApiModelProperty("标签")
    private String tile;

    @ApiModelProperty("正文消息")
    private String message;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("创建时间")
    private String createdAt;

    @ApiModelProperty("帖子类型(1=安全 2=娱乐 3=游戏)")
    private Integer messageType;

    @ApiModelProperty("帖子回复")
    private List<MessageReply> messageReplies;

    @ApiModelProperty("文件")
    private List<MessageFile> messageFiles;

    @ApiModelProperty("是否已点赞(true=是 false=否)")
    private Boolean like;

    @ApiModelProperty("评论数")
    private Long reviewNum;

    @ApiModelProperty("点赞数")
    private Integer giveLike;
}
